\lstdefinelanguage{pigasus}
{keywords={int,length,float,list,string,file,bool,push,wait,return,loadcsv,break,job,continue,map,if,post,else,waitall,for,postall,do,print,while,typeof,true,connect,false,void
},
emph={[1] null},
emphstyle={[1]\emph},
sensitive=true,
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
morestring=[b]",
}

\lstset{ %
language=pigasus,
basicstyle=\ttfamily\footnotesize, %\ttfamily\scriptsize,
keywordstyle=\textbf,
numbers=left,
numberstyle=\footnotesize,
stepnumber=1,
numbersep=5pt,
backgroundcolor=\color{white},
showspaces=false,
showstringspaces=false,
showtabs=false,
frame=false,
tabsize=2,
captionpos=b,
breaklines=true,
breakatwhitespace=false,
}